package com.heather.exam.models;

public class User {

        private int id;
        private String username;
        private boolean isAccountFrozen;

        public User(int id, String username, boolean isAccountFrozen) {
            this.id = id;
            this.username = username;
            this.isAccountFrozen = isAccountFrozen;
        }

        // Getter and Setter methods

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public boolean isAccountFrozen() {
        return isAccountFrozen;
    }

    public void setAccountFrozen(boolean accountFrozen) {
        isAccountFrozen = accountFrozen;
    }
}

